//#include "gui/toppanel.h"
//
//#include "gamestate.h"
//#include "player.h"
//#include "renderer/renderer.h"
//#include "research.h"
//#include "Utility.h"
//
//#include "gui/statictext.h"
//#include "gui/button.h"
//#include "gui/messages/showhide.h"
//
//TopPanel::TopPanel():Panel(5, renderer->GetHeight()-37, 450, 40){
//    stTurnLabel = new StaticText(8, 8, 64, 24);
//    stTurnLabel->SetText("Turn:");
//    stTurnValue = new StaticText(80, 8, 40, 24);
//
//    stCoinLabel = new StaticText(136, 8, 64, 24);
//    stCoinLabel->SetText("Coin:");
//    stCoinValue = new StaticText(208, 8, 40, 24);
//
//    btnResearchLabel = new Button("Rsrch");
//    btnResearchLabel->SetPositionAndDimensions( 256, 8, 64, 24);
//    stResearchName = new StaticText( 328, 8, 64, 24);
//    stResearchValue = new StaticText( 402, 8, 40, 24);
//
//    AddChild(stTurnLabel);
//    AddChild(stTurnValue);
//    AddChild(stCoinLabel);
//    AddChild(stCoinValue);
//    AddChild(btnResearchLabel);
//    AddChild(stResearchName);
//    AddChild(stResearchValue);
//}
//
//void TopPanel::SetActivePlayer(int activePlayer){
//    Player* player = gamestate->GetPlayer(activePlayer);
//    stTurnValue->SetText(gamestate->GetTurn());
//    stCoinValue->SetText(player->GetCoin());
//    stResearchName->SetText(player->GetCurrentResearchName());
//    stResearchValue->SetText(Utility::NumToString(player->GetResearchPoints()));
//}
//
//void TopPanel::SetResearchPanel(Widget* researchPanel){
//    btnResearchLabel->SetClickedMessage(std::shared_ptr<ShowHideMessage>(new ShowHideMessage()));
//    btnResearchLabel->SetGUIMessageSignalTarget(researchPanel);
//}
